package com.example.musicplayer.model

data class SongList(
    val name: String,
    val songs: MutableList<Song> = mutableListOf(),
) {
    val songCount: Int
        get() = songs.size

    fun addSong(song: Song) {
        songs.add(song)
    }

    fun removeSong(song: Song) {
        songs.remove(song)
    }
}